# Maintainer: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Mathieu Clabaut <mathieu.clabaut@gmail.com>

pkgname=lsdvd
pkgver=0.17
pkgrel=4
pkgdesc="Console application that displays the content of a DVD"
arch=('loong64' 'x86_64')
url="https://sourceforge.net/projects/lsdvd/"
license=('GPL2')
depends=('libdvdread')
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('32e63ff932ee2867e023ad3e74e14dcb')

build() {
  cd $pkgname-$pkgver

  ./configure --prefix=/usr

  make
}

package() {
  cd $pkgname-$pkgver

  make DESTDIR="$pkgdir" install
}
